home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The 640 MEG Shareware Studio 2
/
The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO
/
mailers
/
relock20.zip
/
SAMPLBAT.DOC
< prev
Wrap
Text File
|
1992-07-21
|
765b
|
26 lines
: Here's a sample of a batch file using the If statement to lie to the BBS
: about the current baud rate. You should be able to adapt this to your
: BBS if necessary to make it work with RELOCK. In the section "TooFast"
: place the baud rate that RELOCK has set the modem/fossil to.
: Use this "lie to the BBS' approach only if you are experiencing problems
: getting RELOCK to work properly.
C:
cd \QWKBBS\Node1
: %1 is the baud rate parameter the mailer passes to the batch file that
: invokes the BBS. Adjust as necessary.
If "%1"=="12000" Goto TooFast
If "%1"=="14400" Goto TooFast
If "%1"=="16800" Goto Toofast
QUICKBBS -b%1 -t%2 -e0 -n1
goto After_Quick
:TooFast
QUICKBBS -b19200 -t%2 -e0 -n1
goto After_Quick
: and so on...